home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 11
/
CU Amiga Magazine's Super CD-ROM 11 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-06].iso
/
cucd
/
programming
/
oberonv4
/
source
/
system
/
bitmaps.mod
(
.txt
)
< prev
next >
Wrap
Oberon Text
|
1996-04-28
|
548b
|
21 lines
Syntax10.Scn.Fnt
Syntax10b.Scn.Fnt
MODULE Bitmaps;
IMPORT Amiga,Display,Pictures;
Bitmap*=Pictures.Picture;
Disp-:Pictures.Picture;
PROCEDURE New*(w,h:INTEGER):Bitmap;
b:Bitmap;
BEGIN
NEW(b);
Pictures.Create(b,w,h,Amiga.OberonDepth);
RETURN b;
END New;
PROCEDURE CopyBlock*(src,dst:Bitmap; sx,sy,w,h,dx,dy,mode:INTEGER);
BEGIN
Pictures.CopyBlock(src,dst,sx,sy,w,h,dx,dy,mode);
END CopyBlock;
BEGIN
Disp:=Display.screen;
END Bitmaps.